SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1744535ef2a3ba63e0c3339ce30291776d8823e463d1fb414cc3a01b477281b' 
  AND token = 'pnmGpKkWB/GPCAVIqBqLIea3KFX/V4vCvw8XwkV7g8g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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