SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2ae4af52923b60a6be0406fb7200f23ef0c752388cd7f63b3284a946a2cea8d' 
  AND token = 'S8sSticnn+o4nwk9dD7sU5SYkrLXIF0d4anAd/GgiE4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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