SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b45aa127b601f2e79825a56d647aa07f95239ffdf0d85b53fc462d678c921e3f' 
  AND token = 'aCqRSHTAChawoiM5jNMPwLHHHQgf7qIBp5mootrOe7s=' 
  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"
    }
  }
}