SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8edc7174ecf8686563fbcb92bc73f341e8e551f0badcc782b1427badc195fdb7' 
  AND token = '60s971O8wBVSvtFH/78hD3hgfA3MY1uFatA3CJHps+4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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