SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b070962db0fd3949d17a15585b104d5831477486e948e3f9adab11a6fdc8c10e' 
  AND token = 'JBvMN2erXyFCqz25kv9jePgBWti2HT7rZeU9hICnNLY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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