SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c60345a1edf0bedce968b0572b719f7f7022562716b30238cc42f9a41a7c3e2' 
  AND token = 'JACz07tv06YvlQ1CNIHRI3uc/D/DHv1mzJbr8zPYvaA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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