SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24f5daeb08fa6c16d42a44de08bc67c0e4b6cf5f414077d07e471831eea3477e' 
  AND token = 'GBwf2SG5bfROPqvHYJgLmNeizI7TnyeCxiBilx4Obz8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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