SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cdfc4499b6728cc31310febb9382590b1d52edfd624f5750919b8a5ff36229ab' 
  AND token = 'TEDVM+6hAyqPJBbhAFA9lFEy37L10la2DFFADNyW9fQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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