SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '240d11677cba822ae59aa911d48464a121aa36af0f3bf08d503decb0d731c5bf' 
  AND token = 's7yYKkMWhvRVO/A0cyw0Qe8Ua+VpqVVdng1k1oGKvT4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}