SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0e5661ce0e16550b9997ba734901f0c7331e449661615f7697397cd1710e52f3' 
  AND token = '8Q57p6GD38sEtYetuDCgAOGXvKYDGi56ZgHDJDG4+xU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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