SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40365d381bc4a08401e8765b419dbbc938dbcaa0cd5b03c04d8350f55763a863' 
  AND token = 'hYnDsXx/lbBHaRSpDQGdD//SfFcqzP582m6j44Fa7cI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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