SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a091db07f189a361843b7638bab23b87bba716cfbb247a9510ff652160e93dd1' 
  AND token = '2kTCc5FFdy2h1NmIV81rKg5MS9INAgv1z8NPNBxv0a0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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