SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '998ff139360250a217b1d4e7d6c244f0a4506370255cfd9fda815896833b79b9' 
  AND token = '6pskP++OUhH6hOp+8C10hHhnCuySlOHeU7W5n9E6gv8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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