SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '706e3352913d93ae235c5af561ac6d740d1979845e7691013ebcba5466ea690e' 
  AND token = 'nVjSRZNw4bimnn172JNIJaDwMiBDHDdXH9PsgW0BPt8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}