SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3305c2a4452388c2d10e49a6c82b478929bf81eae8aee7e9fbd2817efab2650d' 
  AND token = 'ketzTnIDSySK7h0kQl0J+rICefnMEDpImU43TaOWxek=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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