SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '348cb295a54e65cedae5093a0c9e6376e3de36ea4d762b77db012f950945d657' 
  AND token = 'fuR77mVOwLRmUVF4hZw1aeDlfk7HexlcgU6UzcB38N0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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