SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6304be749ce49682171b309671dd7868b878b77e355abb46a7d7e8586aff67c5' 
  AND token = 'd3f0KN09nk4Qhs6odBwnMceqYZTCq7sZbCyX4gj5f7o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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