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

Query time 0.00015

JSON explain

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