SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17e1e41d3019a08303583fb2e10ab9c71f018be95171459b14358486190a1557' 
  AND token = 'WiZ3sA+KSE4WJy4UkEKZeMb7HwcbedHrewlfBM9oHt8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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