SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17bfc4481d229c579f8352bc41c01312446dc5f019fc91b058c3393bdd017fff' 
  AND token = 'Z2+bXSu3p/hCzHOUe6cThSQ5T7pzBCHkfg2rXDUCye0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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