SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '18a1798e0728c93147f04fbaaca476f59301b7da47afb8b684cec8235d745078' 
  AND token = 'D46u3t/9eZBrX4fucxkJnnThuw2ntV0ikSwxiLASu5w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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