SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10ed8f65065d7b56eca483175d08985b58cc77fbf7f2d2ef5d098b80f6e0b608' 
  AND token = 'h7U+cn6HgpJVMyR9vdJ9M15W5EvZEoHRJ29U9LGmIrM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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