SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '997d5ca0c1d54c7c63610b1e01724feffcba9755898d2c1935c70a8817667f28' 
  AND token = '8pp3FkGZfNUWD/EVGtP6qeAubBU2W5MFv3+snMdhrkQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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