SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab72fb0dda6332fea3910f7cba6402ef7e0b166cb00e448410b89f8199f96919' 
  AND token = 'iY8956CWpRnCSq7mtSibmyWmURnPkPM2OKe9X7LB5KM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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