SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ad367a711daa345864806a4b7160e4a7f7e98d315339fcf13eb044b132999e3' 
  AND token = 'hCLztyM1RnJq4GE0WfZ6LKJpZjUIx8hbLdvCT9L4N9s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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