SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '127e878db20ffef9f2d712359828fc009638166248c33f5698faf251b055c5a2' 
  AND token = 'cG8DH2cEjg0XvG/ookJTViDPezw1Y8OM0rZn/yt1HBQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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